package com.ls.user.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ls.user.mapper.UserMapper;
import com.ls.user.pojo.dto.LoginDTO;
import com.ls.user.pojo.entity.User;
import com.ls.user.service.IUserService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xiaotang
 * @since 2023-04-07
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Override
    public User login(LoginDTO loginDTO) {
        return baseMapper.login(loginDTO);
    }
}
